import { Layout } from '@fl/utils/routerHelper'

const protocol: AppRouteRecordRaw = {

    children: [
        {
            component: () => import('@/pages/content-center/protocol/list.vue'),
            meta: {
                breadcrumb: false,
                icon: 'i-icon-park-outline:agreement',
                title: '协议管理',
            },
            name: 'content-center-protocol-list',
            path: 'list',
        },
        {
            component: () => import('@/pages/content-center/protocol/form.vue'),
            meta: {
                activeMenu: '/content-center/protocol/list',
                breadcrumb: false,
                hidden: true,
                noTagsView: true,
                title: '协议管理表单',
            },
            name: 'content-center-protocol-form',
            path: 'form',
        },
    ],
    component: Layout,
    meta: {
        icon: 'i-icon-park-outline:agreement',
        title: '协议管理',
    },
    name: 'content-center-protocol',
    path: 'protocol',
}

export default protocol
